<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ include file="/common/include/page.jsp" %>
<%
	/* Cookie cookie = new Cookie("a","12_5-13_2-11_1-"); */
	Cookie cookie = new Cookie("a","[{'id':'12','num':'5'},{'id':'1','num':'2'}]");
	cookie.setMaxAge(1000 * 60 * 5);
	cookie.setPath(request.getContextPath() + "/");
	response.addCookie(cookie);
	
	Cookie[] cookies = request.getCookies();
	for(int i = 0 ; i < cookies.length ; i ++)
	{
		Cookie cooTemp = cookies[i];
		if(cooTemp != null)
		{
			out.println(cooTemp.getName() + "---out.println--->" + cooTemp.getValue() + "======></br>");
%>
<%=cooTemp.getName() %>=====%>======><%=cooTemp.getValue() %><br/>
<%
		}
	}
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>导航 - 后台 - 用户中心</title>
</head>
<body>
	<table width="80%" border="1">
		<tr>
			<td>名称</td>
			<td>链接</td>
		</tr>
		<tr>
			<td>商品列表</td>
			<td><a href="${rootpath }/goods.htm" target="_blank">商品列表</a></td>
		</tr>
		<tr>
			<td>登陆后</td>
			<td><a href="${rootpath }/head/users/main.htm" target="_blank">登陆后</a></td>
		</tr>
	</table>
</body>
</html>